package com.inspur.cloud.dao.ambari;

import com.inspur.cloud.entity.ambari.ClusterConfigEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface ClusterConfigDao extends JpaRepository<ClusterConfigEntity, Integer>, JpaSpecificationExecutor<ClusterConfigEntity> {
    ClusterConfigEntity findByTypeNameAndSelected(String typeName, Integer selected);
}
